package com.nuoyun.tnvmue.activity

import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.widget.BaseAdapter
import com.nuoyun.tnvmue.R
import com.nuoyun.tnvmue.adapter.HelpAdapter
import kotlinx.android.synthetic.main.activity_help.*

/**
 * @author jiangyao
 * Date: 2020/4/10
 * Email: jiangmr@vip.qq.com
 * TODO:
 */
class HelpActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_help)
        setBack(true)
        setTitle("常见问题解答")

        help_list.adapter = HelpAdapter(this)
    }

    companion object {
        fun start(context: Context) {
            val intent = Intent()
            intent.setClass(context, HelpActivity::class.java)
            context.startActivity(intent)
        }
    }
}